package 作业六;

import java.security.PublicKey;

public class SonLikeDo implements DadLikeDo,MomLikeDo{
    @Override
    public void ride() {
        System.out.println("儿子喜欢骑车");
    }

    @Override
    public void basketball() {
        System.out.println("儿子喜欢打篮球");

    }

    @Override
    public void sing() {
        System.out.println("儿子喜欢唱歌");

    }

    @Override
    public void dance() {
        System.out.println("儿子喜欢跳舞");
    }

    public static void main(String[] args) {
        SonLikeDo sonLikeDo = new SonLikeDo();
        sonLikeDo.basketball();
        sonLikeDo.dance();
        sonLikeDo.ride();
        sonLikeDo.sing();
        System.out.println("儿子喜欢打游戏");
    }
}

